package com.example.evanproject.service;

import com.example.evanproject.domain.News;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
* @author hanxiaoqi
* @description 针对表【news】的数据库操作Service
* @createDate 2024-03-09 21:52:13
*/
public interface NewsService extends IService<News> {
    public List<News> selectall(String title, String time1, String time2, Integer typeid, Integer pageNum, Integer pageSize);

    public  List<News> selectalllist();
    public News selectnewbyid(Integer newId);
    public Integer addnew(String iTitle, String iAuthor, String iContent, Integer typeId);

    List<News> selectall2();
}
